texteditor- * = useful in notes too; @ in console
  *retain virtual cursor column when up/down
  *word wrap indentation
   block comment/uncomment
   syntax highlighting
   auto-complete
   symbol browser
  *goto line
 @*search, replace
  *line#s
   code folding
  *highlight current line
   ()[]{} matching (highlight, goto)
  *bookmarks
   breakpoints
 @*dbl-click-drag highlight by words

   'center view' keystroke- alt+home
   prev/next function- alt+pgup/dn
   prev/next brace- alt+up/dn
   begin/end of current braces/block- alt+lt/rt

need to be able to click on menubar to cancel a popup with no other windows open
closing last window with mouse hovering over retains previous mouse pointer

treat maximize as it's own app size (detected and set separately)
network path support?

DEBUG INFO:
num textures, subtextures
memory used
memory "wasted", % wasted
memory / num resident, % of each
pixels / textures drawn per frame, fps

current / worst / average on all

debug events?

spawns:
 dbl-click for properties of spawn
 ctrl+move/place aligns to grid
 selecting via keyboard should hit tile-based range
 moving selection via keyboard?
deleting tileset/animgroup/script needs to affect scripts, spawns, and clipboard spawns

retaining ALT pressed after a click-away, usually
still losing mouse on video mode change
gradients are poor when displaying GUI over a game (why?)

up/down on layer list works- but what if you want to move cursor? (same w/left+right on color list)

focus rectangle shows up on treeview item even if not active
make a few global items dynamic (save all/close all)
throttle repeating shift/ctrl/alt keys? (for efficiency)
need shortcut key for rt-click in listbox/treeview
*confirm deletion of layers/objects/etc. (with [ ] do not ask again)
*mouse hidden on start if over app, sometimes
*cursor in tile editor needs border  (cursors are hard to see in general?)
*multiple tile rows in tile selection toolpanel need to scroll together? (as in, based on tilesperline)

New world, New tileset, close tileset using small [x] on tool window; close program, hover over save dialog = crash

option- instead of color pallete, just have the color selection bars instead

layer editing:

(properly undo selection resize from layer resize- block with layer resize)
(make culling of tiles when resizing tileset an option, with separate? undo)

 magic wand
 selection masking for tools

 finish toolbar
 dropper
 mirror/flip/rotate buttons
 drawing with larger than 1x1
 
 patterns- create, in a tile set, patterns- normal, stretchable (repeats central items) and repeatable (like wallpaper)
 then a stretch tool or sponge tool to use them


*Lower resolutions don't handle large popup menus cleanly
*count of consecutive idle events, so we can detect longer idles for refreshes and garbage collection

*Shortcut key configuration dialog
*progress meter- use when resizing tileset or layer or clearabove on layer
*partial saving; don't compress data that's too small
*glyph width auto-mode

*some windows (editbox, ?) aren't setting scroll sizes

*store void functions (Dialog** and PopupMenu** ex) to call for garbage collection
 same functions called on exit?

*combining windows and tabbar
